STEP 5: Let's make a display for total before we calculate the mean.

  • In , drag out Variable Display. Change the name to total_display.
  • Change the variable in the .display() command to total.
  • Change the x-coordinate from -6 to -3 and the y-coordinate from 5 to 4.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)